<!DOCTYPE html>
<html>
<head>
<script src="../JS/jquery.js" ></script>
<script src="../JS/getcookie.js" ></script>
<script>
$(document).ready(function(){
	if( getCookie("name") != "" )
	{
		alert( getCookie("name") );
		delCookie("name");
	}
});
</script>
</head>

<body>
yess
</body>
</html>